package com.xiaoyu.client.model.goods;

public class OrderConfirmBean {

    /**
     * code : y200
     * message : 成功
     * data : {"address":{"addressid":"2","provinces":"天津市","city":"天津市","county":"南开区","detail":"红旗南路奕聪花园9号楼2702","receiver":"张三","tel":"15000000000"},"goodsnumber":"2","goodsstore":{"goodsstroreid":"2","storename":"商家名字2"},"coupons":{"couponsname":"请选择优惠券","usercouponsid":""},"goodsname":"商品名字13","goodsdeimg":"http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png","goodsprice1":"100.00","goodsmoney":"200","goodsfreight":"0","ordermoney":"200"}
     */

    private String code;
    private String message;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * address : {"addressid":"2","provinces":"天津市","city":"天津市","county":"南开区","detail":"红旗南路奕聪花园9号楼2702","receiver":"张三","tel":"15000000000"}
         * goodsnumber : 2
         * goodsstore : {"goodsstroreid":"2","storename":"商家名字2"}
         * coupons : {"couponsname":"请选择优惠券","usercouponsid":""}
         * goodsname : 商品名字13
         * goodsdeimg : http://rh-xcx.oss-cn-beijing.aliyuncs.com/1529978608600.png
         * goodsprice1 : 100.00
         * goodsmoney : 200
         * goodsfreight : 0
         * ordermoney : 200
         */

        private AddressBean address;
        private String goodsnumber;
        private GoodsstoreBean goodsstore;
        private CouponsBean coupons;
        private String goodsname;
        private String goodsdeimg;
        private String goodsprice1;
        private String goodsmoney;
        private String goodsfreight;
        private String ordermoney;

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public String getGoodsnumber() {
            return goodsnumber;
        }

        public void setGoodsnumber(String goodsnumber) {
            this.goodsnumber = goodsnumber;
        }

        public GoodsstoreBean getGoodsstore() {
            return goodsstore;
        }

        public void setGoodsstore(GoodsstoreBean goodsstore) {
            this.goodsstore = goodsstore;
        }

        public CouponsBean getCoupons() {
            return coupons;
        }

        public void setCoupons(CouponsBean coupons) {
            this.coupons = coupons;
        }

        public String getGoodsname() {
            return goodsname;
        }

        public void setGoodsname(String goodsname) {
            this.goodsname = goodsname;
        }

        public String getGoodsdeimg() {
            return goodsdeimg;
        }

        public void setGoodsdeimg(String goodsdeimg) {
            this.goodsdeimg = goodsdeimg;
        }

        public String getGoodsprice1() {
            return goodsprice1;
        }

        public void setGoodsprice1(String goodsprice1) {
            this.goodsprice1 = goodsprice1;
        }

        public String getGoodsmoney() {
            return goodsmoney;
        }

        public void setGoodsmoney(String goodsmoney) {
            this.goodsmoney = goodsmoney;
        }

        public String getGoodsfreight() {
            return goodsfreight;
        }

        public void setGoodsfreight(String goodsfreight) {
            this.goodsfreight = goodsfreight;
        }

        public String getOrdermoney() {
            return ordermoney;
        }

        public void setOrdermoney(String ordermoney) {
            this.ordermoney = ordermoney;
        }

        public static class AddressBean {
            /**
             * addressid : 2
             * provinces : 天津市
             * city : 天津市
             * county : 南开区
             * detail : 红旗南路奕聪花园9号楼2702
             * receiver : 张三
             * tel : 15000000000
             */

            private String addressid;
            private String provinces;
            private String city;
            private String county;
            private String detail;
            private String receiver;
            private String tel;

            public String getAddressid() {
                return addressid;
            }

            public void setAddressid(String addressid) {
                this.addressid = addressid;
            }

            public String getProvinces() {
                return provinces;
            }

            public void setProvinces(String provinces) {
                this.provinces = provinces;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public String getReceiver() {
                return receiver;
            }

            public void setReceiver(String receiver) {
                this.receiver = receiver;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }
        }

        public static class GoodsstoreBean {
            /**
             * goodsstroreid : 2
             * storename : 商家名字2
             */

            private String goodsstroreid;
            private String storename;

            public String getGoodsstroreid() {
                return goodsstroreid;
            }

            public void setGoodsstroreid(String goodsstroreid) {
                this.goodsstroreid = goodsstroreid;
            }

            public String getStorename() {
                return storename;
            }

            public void setStorename(String storename) {
                this.storename = storename;
            }
        }

        public static class CouponsBean {
            /**
             * couponsname : 请选择优惠券
             * usercouponsid :
             */

            private String couponsname;
            private String usercouponsid;

            public String getCouponsname() {
                return couponsname;
            }

            public void setCouponsname(String couponsname) {
                this.couponsname = couponsname;
            }

            public String getUsercouponsid() {
                return usercouponsid;
            }

            public void setUsercouponsid(String usercouponsid) {
                this.usercouponsid = usercouponsid;
            }
        }
    }
}
